#ifndef __MYIIC_H
#define __MYIIC_H
typedef enum {
    I2C_STATUS_OK,
    I2C_STATUS_BUSY,
    I2C_STATUS_TIMEOUT,
    I2C_STATUS_NACK,
    I2C_STATUS_ERROR
} I2C_StatusTypeDef;

I2C_StatusTypeDef i2c_master_transmit(uint32_t i2c_periph, uint8_t dev_addr, 
                                     uint8_t *p_data, uint16_t size);
void MYIIC_Init(uint32_t addre);


#endif
